<?php
html::printPath(array('seminar.form-title' => 'admin/seminar/all', ($seminar['id'] == '' ? 'application.page-title-insert' : 'application.page-title-edit') => ''));
$msg->printMessages();

$fb = new FormBuilder('seminar', $seminar);
$fb->autocomplete('name', $nameAcValues)->required();
$fb->date('begin_date')->required();
$fb->date('end_date')->required();
$fb->textarea('description');
$fb->yesNoBox('publish');
$fb->yesNoBox('full');
$fb->textarea('notes');
$fb->submitButton();
$fb->write();
